import Vue from 'vue'
import VueRouter from 'vue-router'
// import Home from '../views/Home.vue'
import diyiti from '../views/diyiti/diyiti.vue'
import dierti from '../views/dierti/dierti.vue'
import disanti from '../views/disanti/disanti.vue'
import disiti from '../views/disiti/disiti.vue'

Vue.use(VueRouter)

const routes = [
  {
    path: '/',
    redirect: '/dierti'
  },
  {
    path: '/diyiti',
    component: diyiti
  },
  {
    path: '/dierti',
    component: dierti
  },
  {
    path: '/disanti',
    component: disanti
  },
  {
    path: '/disiti',
    component: disiti
  }
]

const router = new VueRouter({
  routes
})

export default router
